home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / guigfxlib / doc / history < prev    next >
Text File  |  1999-01-01  |  17KB  |  438 lines

  1.  
  2. history
  3. -------------------------
  4.  
  5. v15
  6.     - added a few basic examples to the documentation.
  7.     - added GGFX_UseMask for LoadPicture(). if TRUE and supported
  8.       by the datatype, a mask will be read and included to the 
  9.       picture as an alpha-channel.
  10.     - new function: CreatePictureMask(). This function creates
  11.       a single-bitplane mask from a picture's alpha-channel. it
  12.       can be passed to graphics.library/BltMaskBitMapRastPort().
  13.     - CreatePictureBitMap() now accepts a NULL picture. This can
  14.       be used to allocate a blank bitmap that can be blitted
  15.       to a drawhandle efficiently.
  16.  
  17. v14
  18.     - minor bug in MakePicture() fixed: when a blank
  19.       picture was created (data = NULL), the independent
  20.       flag was internally not set to TRUE.
  21.     - PICMTHD_AUTOCROP cropped blank pictures down to zero
  22.       pixels - fixed. (oops! evil crashes :-)
  23.  
  24. v13
  25.     - minor internal changes
  26.  
  27. v12
  28.     - added picture method PICMTHD_AUTOCROP
  29.     - the includes did not contain the definitions for
  30.       PICMTHD_NEGATIVE. fixed.
  31.  
  32. v11
  33.     - the Tower JPEG codec is no longer supported directly.
  34.     - added documentation for the v9 directdraw functions.
  35.  
  36. v10.2
  37.     - env/usescalepixelarray is no longer considered for
  38.       CreatePictureBitMap(). this function always uses
  39.       internal scaling routines now.
  40.  
  41. v10.1
  42.     - fixed a semaphore lockup problem when MakePicture() failed due to
  43.       a lack of memory
  44.     - parts of the library have been restructured.
  45.     - internal bitmap handling rewritten.
  46.     - MakePicture() has been rewritten. lots of sanity checks have been added.
  47.       bitmap conversion is more efficient. scaling has been included.
  48.     - fixed DirectDrawTruecolor() on truecolor screens without scaling
  49.     - rewrote ReadPicture(), added tags GGFX_AspectX, GGFX_AspectY,
  50.       GGFX_DestWidth, GGFX_DestHeight, and GGFX_ModeID.
  51.     - added picture method PICMTHD_NEGATIVE
  52.  
  53. v10
  54.     - major stability update! thanks to Luca Longone, who encountered
  55.       MystiCube crashing when started multiple times. the internal
  56.       memory manager is now reset to RMHTYPE_PUBLIC, and no problems
  57.       occured with 4 mysticubes, 2 mysticviews in slideshow mode,
  58.       rgbplasma, plus viewworld running simultaneously for many hours
  59.       under heavy debugging conditions.
  60.  
  61.       public memory management seems to solve all outstanding problems,
  62.       but it causes more memory fragmentation. a more sophisticated
  63.       memory manager is being planned.
  64.  
  65.     - added documentation for Source-Tags in picture method
  66.       PICMTHD_MIXALPHA.
  67.  
  68. v9.0
  69.     - CreatePictureBitmap() now returns gently with a NULL pointer
  70.       when no valid picture or drawhandles were specified.
  71.     - added CreatePictureMask(). (experimental, not for public use yet)
  72.  
  73. v8.5
  74.     - added env variable AUTODITHERTHRESHOLD
  75.     - env variables are now considered only once, when the
  76.       library is opened.
  77.     - forgot to document PICMTHD_SET in the autodocs. fixed.
  78.     - added method PICMTHD_CHECKAUTODITHER.
  79.  
  80. v8.4
  81.     - GGFX_AutoDither is now considered by DrawPicture()
  82.  
  83.  
  84. v8.3
  85.     - fixed CreateDirectDrawHandle(). when the input and
  86.       output dimensions were the same, this function returned
  87.       NULL instead of a valid directdrawhandle.
  88.     
  89.     - added support for texture-mapping and rotating while
  90.       drawing (no additional buffers required). currently
  91.       not documented and for internal use only.
  92.     
  93.     - added env variable guigfx/USEWPA8. it is used when the
  94.       drawhandle is on a native Amiga screenmode. when set to
  95.       0, guigfx.library will use an internal c2p routine.
  96.       when set to 1, guigfx.library will call WritePixelArray8(),
  97.       WritePixelLine8() or WriteChunkyPixels().
  98.  
  99. v8.2
  100.     - 12bit (default) drawhandles now use mapping-engines for
  101.       optimized rendering to static palettes (no pen-sharemap
  102.       specified for ObtainDrawHandle()). this is preliminary,
  103.       for test purposes only.
  104.     
  105.     - fixed PICMTHD_INSERT to support insertion of pictures
  106.       which are both mapped to the same drawhandle. untested yet.
  107.  
  108. v8.1
  109.     - to end up problems with cybergraphics.library/ScalePixelArray(),
  110.       I've included an ENV variable named guigfx/USESCALEPIXELARRAY
  111.       so that the user may decide. Default is "0", and
  112.       guigfx.library/DrawPicture() uses its internal scaling
  113.       routines. DirectDrawTrueColor() always uses ScalePixelArray()
  114.       with cgfx v41 present.
  115.  
  116. v8.0
  117.     - added CreateDirectDrawHandle(), DeleteDirectDrawHandle()
  118.       and DirectDrawTrueColor() for optimized drawing of
  119.       RGB data.
  120.  
  121.     - wowsers, cybergraphics.library/scalepixelarray() seems
  122.       to get faster and buggier with every new cybergraphics
  123.       update. i wonder if the authors still know what's going
  124.       on inside? anyway, i can't really decide whether to use
  125.       it or not. currently, DirectDrawTrueColor() uses it for
  126.       higher performance, and DrawPicture() doesn't for
  127.       accurate scaling without flicker.
  128.  
  129. v7.2
  130.     - applied Tower JPEG Class license agreements to the
  131.       legal informations.
  132.  
  133.     - If you want to use the Tower JPEG codec, your program
  134.       has to be in accordance to the respective license
  135.       agreements. Specify the tag GGFX_License for
  136.       IsPicture() and LoadPicture() to use the JPEG codec.
  137.       Otherwise, datatypes are used.
  138.  
  139. v7.1
  140.     - added picture mehtods PICMTHD_FLIPX and PICMTHD_FLIPY.
  141.  
  142. v7.0
  143.     - added picture method PICMTHD_INSERT.
  144.  
  145. v6.2
  146.     - improved drawing speed with OS3.0
  147.  
  148. v6
  149.     - ClonePicture() now handles scaling.
  150.     - minor changes and speed improvements.
  151.     - JPEG is the first file format to be supported
  152.       directly. LoadPicture() uses the tower.library
  153.       JPEG codec if available. directly supported
  154.       formats require less memory while loading.
  155.  
  156. v5
  157.     - added method PICMTHD_TINTALPHA
  158.  
  159. v4.4
  160.     - since v4.3, ObtainDrawHandle() crashed on screens with
  161.       no sharable pens. fixed.
  162.     - if render.library cannot be found in LIBS:,
  163.       guigfx.library now tries to open it at libs/.
  164.     - IsPicture() no longer crashes without datatypes.library.
  165.  
  166. v4.3
  167.     - improved logic in ObtainDrawHandle() for
  168.       truecolor-rastports and pensharemap=NULL
  169.     - updated autodocs.
  170.     - Calls to ScalePixelArray()/cybergraphics v41 have been
  171.       removed. Instead, a 24bit render.library scaling-engine
  172.       is used. ScalePixelArray() is too slow (especially with
  173.       large images), does not scale correctly, causes
  174.       flickering, and cannot be interrupted.
  175.     - fixed PICMTHD_SET with pictures mapped to a drawhandle.
  176.     - added tags GGFX_SourceWidth, GGFX_SourceHeight, 
  177.       GGFX_SourceX und GGFX_SourceY to ClonePicture(). It's
  178.       now possible to clone a picture in part.
  179.     - fixed a minor bug in MakePicture().
  180.     - MakePicture() now accpets NULL as the palette argument
  181.       for PIXFMT_CHUNKY_CLUT, in which case a grey palette
  182.       with 256 entries will be generated.
  183.  
  184. v4.2
  185.     - DrawPicture() did not set a correct return value under
  186.       rare circumstances. fixed.
  187.     - pictures now cache their last scaling-engine.
  188.     - DrawPicture() is now guaranteed to execute the line hook
  189.       at least once per call.
  190.  
  191. v4.1
  192.     - the functions LockPicture() and UnlockPicture() are now
  193.       considered 'obsolete'. Calling LockPicture() will always
  194.       return FALSE, and UnlockPicture() will do nothing.
  195.       
  196.       Please remove these functions from your code and replace
  197.       them with a call to DoPictureMethod() with
  198.       PICMTHD_MAPDRAWHANDLE if you need optimized rendering.
  199.  
  200.       The idea behind LockPicture() wasn't too bad, but currently
  201.       it is not possible to implement it properly. LockPicture()
  202.       and UnlockPicture() will no longer be documented, but the
  203.       LVOs remain valid and might be reactivated some day. Calling
  204.       these functions in already existing code is harmless.
  205.  
  206. v4.00
  207.     - implemented IsPicture()
  208.  
  209. v3.11
  210.     - fixed several memory management problems with LoadPicture().
  211.  
  212. v3.10
  213.     - fixed a heavy bug leading to memory corruptions, especially
  214.       when drawing to native Amiga screen modes.
  215.     
  216. v3.03
  217.     - MakePictureA() now accepts NULL as a data pointer. This
  218.       will create a 'blank' picture with the specified
  219.       attributes.
  220.     - ObtainDrawHandleA() now accepts NULL for the pensharemap
  221.       argument. In this case ObtainDrawHandle creates a drawhandle
  222.       with a static 9bit colorspace palette.
  223.     - MakePictureA() now accepts a NULL palette for PIXFMT_CHUNKY_CLUT.
  224.       This will create a default-palette (256 colors from black to white)
  225.     - drawing to bitplanes without scaling is now performed
  226.       via Chunky2BitMap/BltBitMapRastPort.
  227.     - implemented PICMTHD_SET.
  228.     - fixed lots of bugs in internal picture conversion routines.
  229.  
  230. v3.02
  231.     - guigfx.library no longer depends on datatypes.library v40.
  232.       the minimum version number is reset to v39.
  233.     - implemented PICMTHD_TEXTURE.
  234.     - bumped revision number for render.library to v25.
  235.  
  236. v3.01
  237.     - fixed a minor bug in LockPictureA().
  238.     - added documentation for LockPictureA() and UnLockPicture().
  239.     - added a workaround for INVALID_ID originating from
  240.       PDTA_ModeID. INVALID_ID returned by a datatype appears
  241.       neither logical nor legal to me. anyway, guigfx.library
  242.       no longer crashes with HAM8 pictures loaded by the ILBM v43
  243.       datatype in an ECS/OCS environment. however, the images still
  244.       appear scrambled, since guigfx.library cannot determine whether
  245.       to treat an image as HAM8 or not.
  246.  
  247. v3.00
  248.     - Some more tags implemented.
  249.     - the autodocs have been reworked.
  250.     - the internal memhandler has been reset to RMHTYPE_POOL.
  251.     - implemented LockPicture() and UnlockPicture().
  252.     - color allocation strategy improved.
  253.     - datatypes.Library is no longer required for guigfx.library
  254.       to be opened successfully.
  255.  
  256. v2.01
  257.     - fixed GGFX_SourceX / GGFX_SourceY when drawing truecolor data to
  258.       truecolor rastports without scaling. Thanks to M. Hillenbrand
  259.       who reported this obstinate bug.
  260.  
  261. v2.00
  262.     - fixed some internal histogram-related quirks and problems.
  263.       the resolution of a picture's histogram is now by default the
  264.       pensharemap's resolution it is being added to. if no
  265.       pensharemap is involved, then the histogram's resolution
  266.       will be set to the default resolution (currently HSTYPE_12BIT_TURBO).
  267.       You may as well set GGFX_HSType for LoadPicture(), MakePicture(),
  268.       and ReadPicture(), but this is not required under normal
  269.       circumstances. Better set the desired resolution when calling
  270.       CreatePenShareMap().
  271.     - guigfx.library no longer crashes with old versions of
  272.       render.library. Now it closes down gently (It seems as I was
  273.       completely brain-dead when I wrote the setup routine)
  274.     - autodocs now reflect all new tags and methods.
  275.  
  276. v1.99
  277.     - since the autodither value cannot be computed when rendering
  278.       to HAM screen modes, HAM dithering is always enabled with
  279.       autodither != 0 and disabled with autodither==0.
  280.     - fixed documentation of AddPaletteA() and fixed a bug in
  281.       AddPalette() / PALFMT_RGB32. Thanks to Frank Pagels who
  282.       reported these problems.
  283.     - added picture method PICMTHD_TINT.
  284.     - guigfx.library no longer tries to open Cybergraphics.library
  285.       v41. The code now correctly differentiates for ScalePixelArray()
  286.       and custom scaling routines. Thanks to M. Hillenbrand and
  287.       S. Sommerfeld who reported this bug.
  288.  
  289. v1.98
  290.     - drawing/scaling truecolor to truecolor drawing is now
  291.       done with ScalePixelArray/cybergraphics.library which
  292.       isn't as slow as I expected. It can stand the test
  293.       with a render.library scaling-engine plus line-by-line
  294.       drawing, and it requires no additional memory.
  295.     - The code now differenciates graphics v40 for drawing to
  296.       graphic card rastports via WriteChunkyPixels().
  297.  
  298. v1.97
  299.     - guigfx.library now tries to convert chunky pictures to
  300.       truecolor before drawing to HAM modes. if conversion
  301.       fails (i.e. with the picture in a static buffer), the
  302.       image will be drawn with the 16/64 HAM base colors.
  303.  
  304. v1.96
  305.     - fixed a minor bug that occured when drawing odd-width
  306.       pictures in directdraw mode.
  307.     - guigfx.library now renders to HAM modes. Currently the
  308.       full HAM spectrum is only used with truecolor pictures.
  309.       When ObtainDrawHandle() is supplied with GGFX_ModeID, 
  310.       then HAM is automatically recognized and used.
  311.  
  312. v1.95
  313.     - removed a workaround for an incompatibility problem
  314.       between the cybergraphx and picasso96 picture.datatypes.
  315.       loading is faster now and requires less memory. this
  316.       update requires the picasso96 picture.class datatype
  317.       v43.26.
  318.     - revised autodocs and completed the documentation for
  319.       the picture method PICMTHD_CREATEALPHAMASK.
  320.  
  321. v1.94
  322.     - fixed a overlap-memcopy bug in PICMTHD_CROP. You need to
  323.       upgrade to render.library v22.1.
  324.  
  325. v1.93
  326.     - improved alpha-channel handling. PICMTHD_MIXALPHA
  327.       now handles alpha-channels in both the source and
  328.       destination picture (if present).
  329.     - implemented PICMTHD_CREATEALPHAMASK.
  330.     - added E includes
  331.  
  332. v1.92
  333.     - fixed bug in DoPictureMethod: certain internal format
  334.       conversions lead to crashes since v1.7.
  335.     - implemented PICMTHD_RENDER with destination format
  336.       PIXFMT_RGB_24.
  337.     - completed alpha-channel administration. an alpha-channel
  338.       is no longer discarded when the internal pixel format
  339.       changes.
  340.     - implemented GGFX_AlphaPresent for MakePicture()
  341.  
  342. v1.9
  343.     - rewrote all drawing routines. the code is more
  344.       differentiated for optimized drawing.
  345.     - autodither fixed. finally this feature works as
  346.       it was originally intended to.
  347.     - Fixed v1.8 bug when drawing to truecolor screens.
  348.     - implemented GGFX_DitherMode for DrawPicture() and
  349.       CreatePictureBitMap(). They may be used to optionally
  350.       override the drawhandle's dithermode.
  351.     - Note: guigfx.library v1.9 requires render.library v21.
  352.     - implemented GGFX_AspectX and GGFX_AspectY to
  353.       MakePicture().
  354.  
  355. v1.8
  356.     - ObtainDrawHandle() no longer allocates pens for
  357.       truecolor rastports. Thanks to Stefan Sommerfeld
  358.       who reported this bug.
  359.     - GGFX_SourceWidth and GGFX_SourceHeight were not
  360.       correctly implemented for CreatePictureBitMap()
  361.     - fixed minor memory transfer problems: TurboCopyMem()
  362.       was sometimes applied to odd-sized memory areas
  363.     - implemented GGFX_BufferSize for MakePicture()
  364.  
  365. v1.7
  366.     - a picture has no longer to be maintained for an open
  367.       colorhandle. with other words: you may DeletePicture()
  368.       a picture after it has been added to a pensharemap via
  369.       AddPicture().
  370.     - implemented GGFX_MaxAllocPens for ObtainDrawHandle().
  371.       This limits the number of allocated pens to a specific
  372.       number. Better you use this feature only if you've got
  373.       a very good reason for it.
  374.     - math problems fixed. GGFX_Weight should work now. a better
  375.       color allocation strategy has been implemented.
  376.       Currently use GGFX_Weight in a range from 1-10. Maybe
  377.       I will implement a more sophisticated measurement later.
  378.     - internal color allocation order is now PALMODE_SATURATION
  379.       instead of PALMODE_SIGNIFICANCE. this improves color
  380.       allocation speed drastically.
  381.     - drawhandles no longer maintain a global mapping-engine.
  382.       this saves some memory and is remarkably faster in many
  383.       situations, since the mapping-engine could not be linked
  384.       to the drawhandle's histogram.
  385.  
  386. v1.6
  387.     - implemented GGFX_ErrorCode for LoadPicture(). You specify
  388.       a pointer to LONG, and a standard DOS error code will be
  389.       returned (NULL when everything was OK).
  390.  
  391. v1.5
  392.     - LoadPicture() did not always handle v43 bitmaps correctly.
  393.       Fixed. Thanks to Markus Hillenbrand who reported this bug.
  394.     - guigfx.library's global memhandler is reset to RMHTYPE_PUBLIC
  395.       for debugging, since public memory violations can be
  396.       tracked down more easily.
  397.     - fixed PICMTHD_MIXALPHA with the source picture in
  398.       PIXFMT_CHUNKY_CLUT
  399.     - added PICATTR_AspectX and PICATTR_AspectY to GetPictureAttrs()
  400.  
  401. v1.4    - fixed minor autodither bug.
  402.     - GGFX_CallBackHook implemented for CreatePictureBitMap.
  403.     - the autodither calculation is now invoked only for rastports
  404.       with a depth <= 8
  405.  
  406. v1.3
  407.     - added GGFX_DitherMode to CreatePictureBitMap()
  408.     - added GGFX_DestWidth, DestHeight, DestX and DestY to
  409.       method PICMTHD_MIXALPHA and PICMTHD_SETALPHA.
  410.       added GGFX_DestWidth, DestHeight, DestX, DestY, SourceX,
  411.       SourceY, SourceWidth, SourceHeight to method PICMTHD_MIX.
  412.       after all, DoPictureMethod() can apply clip regions of alpha
  413.       channel data to regions inside the picture, with automatic
  414.       scaling when necessary.
  415.     - cleaned up all drawing routines.
  416.     - GGFX_CallBackHook implemented for DrawPicture.
  417.  
  418. v1.2
  419.     - fixed a bug in ClonePicture(). When a cloned picture was
  420.       deleted after the original, a memhandler-failure occured
  421.       (leading to an ILLEGAL exception in render.library)
  422.     - fixed a bug in LoadPicture() - eliminated calls to IoErr().
  423.       dos.library is not part of guigfx.library. this fixes
  424.       crashes with unknown datatype objects or load errors.
  425.     - guigfx.library now uses a global memhandler with RMHTYPE_POOL
  426.       and MEMF_REVERSE.
  427.     - implemented GGFX_SourceWidth, GGFX_SourceHeight, GGFX_SourceX
  428.       and GGFX_SourceY for DrawPicture(). Now you can easily specify
  429.       offsets.
  430.  
  431. v1.1
  432.     - fixed a heavy bug when drawing to native Amiga screen modes.
  433.  
  434.  
  435. v1.0
  436.     - first internal beta release.
  437.  
  438.